<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <base href="<%=basePath%>">

    <title>审核资源信息</title>
    <link type="text/css" href="css/base.css" rel="stylesheet"/>
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="This is my page">
    <script type="text/javascript" src="js/jquery.min.js"></script>
    <script type="text/javascript" src="../js/menu.js"></script>
    <!--
    <link rel="stylesheet" type="text/css" href="styles.css">
    -->

</head>

<body>
<%@ include file="/page/share/menu.jsp" %>

<div id="content">
    <h2>文件审核</h2>
            <hr style="clear: both;">
    <form action="Upload!valid.action" method="post">
        <table>
            <tr>
                <td style="text-align: right;">文件名:</td>
                <td style="width: 500px;">&nbsp
                    ${resource.fileName}

                </td>
            </tr>
            <tr>
                <td style="text-align: right;">上传者:</td>
                <td>&nbsp
                    ${resource.uploader}
                </td>
            </tr>
            <tr>
                <td style="text-align: right;">上传时间:</td>
                <td>&nbsp
                    ${resource.uploadTime}
                </td>
            </tr>
            <tr>
                <td style="text-align: right;">类型:</td>
                <td>&nbsp
                    ${resource.resourceCategory.name}
                </td>
            </tr>
            <tr>
                <td style="text-align: right;">介绍:</td>
                <td>&nbsp
                    ${resource.introduction}
                </td>
            </tr>

            <tr>
                <td style="text-align: right;">审核:</td>
                <td style="width:300px;">&nbsp
                    <input type="hidden" name="resourceId" value="${resource.resourceId}">
                    <select name="valid" style="height: 25px;font-size: 16px;font-family: '微软雅黑';">
                        <option value="">--请选择--</option>
                        <option value="审核通过">审核通过</option>
                        <option value="审核失败">审核失败</option>
                    </select>
                                    </td>
            </tr>
        </table>
        <div id="btn" style="margin:20px 0px 20px 350px;">
            <input value="审 核" type="submit" onMouseOver="this.style.background='#2569c1'" onmouseout="this.style.background='#114a93'"
                   style="width:80px;height:30px;font-family:'微软雅黑';font-size:14px;text-decoration:none;vertical-align:middle;margin:0px 10px;border: none;background: #2569c1;color: white;font-size: 16px;">

            <a href="FileDownload!watch.action?resourceId=${resource.resourceId}"  onMouseOver="this.style.background='#2569c1'" onmouseout="this.style.background='#114a93'"
               style="padding:5px 20px;font-family:'微软雅黑';font-size:14px;text-decoration:none;border: none;background: #2569c1;color: white;font-size: 16px;">在线预览</a>

        </div>
    </form>

</div>


<div id="footer">
    <p style="text-align: center;color: #757575;padding: 20px 0px 0px 0px; font:12px;">Copyright © 2010-2013 蓝天白云团队
        版权所有</p>
</div>
</body>
</html>
